home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
You can browse this item here: plotting.tex
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| LaTeX document, ASCII text, with CR line terminators
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[CR]
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [ttxt] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 63 68 61 70 74 65 72 | 7b 50 6c 6f 74 74 69 6e |\chapter|{Plottin|
|00000010| 67 7d 0d 5c 6c 61 62 65 | 6c 7b 63 68 61 70 3a 70 |g}.\labe|l{chap:p|
|00000020| 6c 6f 74 74 69 6e 67 7d | 0d 5c 69 6e 64 65 78 7b |lotting}|.\index{|
|00000030| 70 6c 6f 74 74 69 6e 67 | 7c 28 7d 0d 0d 5c 52 4c |plotting||(}..\RL|
|00000040| 61 42 5c 20 63 61 6e 20 | 70 6c 6f 74 20 75 73 69 |aB\ can |plot usi|
|00000050| 6e 67 20 74 77 6f 20 6d | 65 74 68 6f 64 73 2e 20 |ng two m|ethods. |
|00000060| 20 54 68 65 20 66 69 72 | 73 74 20 69 73 20 74 6f | The fir|st is to|
|00000070| 20 75 73 65 20 74 68 65 | 20 70 6c 70 6c 6f 74 0d | use the| plplot.|
|00000080| 6c 69 62 72 61 72 79 2e | 20 54 68 65 20 6f 74 68 |library.| The oth|
|00000090| 65 72 20 69 73 20 74 6f | 20 75 73 65 20 74 68 65 |er is to| use the|
|000000a0| 20 66 72 65 65 6c 79 20 | 61 76 61 69 6c 61 62 6c | freely |availabl|
|000000b0| 65 20 67 6e 75 70 6c 6f | 74 0d 70 6c 6f 74 74 69 |e gnuplo|t.plotti|
|000000c0| 6e 67 20 70 72 6f 67 72 | 61 6d 2e 20 20 54 68 65 |ng progr|am. The|
|000000d0| 20 77 61 79 20 79 6f 75 | 72 20 5c 52 4c 61 42 5c | way you|r \RLaB\|
|000000e0| 20 77 61 73 20 62 75 69 | 6c 74 20 64 65 74 65 72 | was bui|lt deter|
|000000f0| 6d 69 6e 65 73 20 77 68 | 65 74 68 65 72 0d 79 6f |mines wh|ether.yo|
|00000100| 75 20 63 61 6e 20 75 73 | 65 20 6e 65 69 74 68 65 |u can us|e neithe|
|00000110| 72 2c 20 6a 75 73 74 20 | 6f 6e 65 2c 20 6f 72 20 |r, just |one, or |
|00000120| 62 6f 74 68 20 6d 65 74 | 68 6f 64 73 2e 20 0d 67 |both met|hods. .g|
|00000130| 6e 75 70 6c 6f 74 20 63 | 61 6e 20 70 72 6f 64 75 |nuplot c|an produ|
|00000140| 63 65 20 6f 75 74 70 75 | 74 20 6f 6e 20 6d 61 6e |ce outpu|t on man|
|00000150| 79 20 64 69 66 66 65 72 | 65 6e 74 0d 64 69 73 70 |y differ|ent.disp|
|00000160| 6c 61 79 20 74 79 70 65 | 73 20 61 6e 64 20 66 69 |lay type|s and fi|
|00000170| 6c 65 20 66 6f 72 6d 61 | 74 73 2c 20 74 68 6f 75 |le forma|ts, thou|
|00000180| 67 68 20 74 68 65 20 71 | 75 61 6c 69 74 79 20 6f |gh the q|uality o|
|00000190| 66 20 74 68 65 20 70 6c | 6f 74 74 69 6e 67 0d 76 |f the pl|otting.v|
|000001a0| 61 72 69 65 73 20 61 63 | 63 6f 72 64 69 6e 67 20 |aries ac|cording |
|000001b0| 74 6f 20 74 68 65 20 63 | 61 70 61 62 69 6c 69 74 |to the c|apabilit|
|000001c0| 69 65 73 20 6f 66 20 74 | 68 65 20 6f 75 74 70 75 |ies of t|he outpu|
|000001d0| 74 20 64 65 76 69 63 65 | 2e 20 70 6c 70 6c 6f 74 |t device|. plplot|
|000001e0| 20 64 6f 65 73 0d 6e 6f | 74 20 68 61 76 65 20 74 | does.no|t have t|
|000001f0| 68 65 20 73 61 6d 65 20 | 72 61 6e 67 65 20 6f 66 |he same |range of|
|00000200| 20 6f 75 74 70 75 74 20 | 6f 70 74 69 6f 6e 73 2c | output |options,|
|00000210| 20 68 6f 77 65 76 65 72 | 20 69 74 20 68 61 73 20 | however| it has |
|00000220| 6d 75 63 68 20 62 65 74 | 74 65 72 20 0d 73 75 70 |much bet|ter .sup|
|00000230| 70 6f 72 74 20 75 6e 64 | 65 72 20 5c 52 4c 61 42 |port und|er \RLaB|
|00000240| 5c 20 2e 0d 0d 0d 5c 70 | 61 72 61 67 72 61 70 68 |\ ....\p|aragraph|
|00000250| 7b 50 6c 6f 74 20 50 72 | 6f 63 65 73 73 7d 0d 0d |{Plot Pr|ocess}..|
|00000260| 0d 5c 73 65 63 74 69 6f | 6e 7b 53 65 74 74 69 6e |.\sectio|n{Settin|
|00000270| 67 20 75 70 20 50 6c 6f | 74 73 7d 0d 0d 59 6f 75 |g up Plo|ts}..You|
|00000280| 20 73 65 74 20 74 68 65 | 20 72 69 67 68 74 20 74 | set the| right t|
|00000290| 79 70 65 20 6f 66 20 6f | 75 74 70 75 74 20 75 73 |ype of o|utput us|
|000002a0| 69 6e 67 20 5c 76 65 72 | 62 2b 70 73 74 61 72 74 |ing \ver|b+pstart|
|000002b0| 2b 2e 0d 0d 54 68 65 20 | 6e 65 65 64 20 74 6f 20 |+...The |need to |
|000002c0| 72 65 64 69 72 65 63 74 | 20 6f 75 74 70 75 74 20 |redirect| output |
|000002d0| 69 73 20 6c 65 73 73 20 | 63 6f 6d 6d 6f 6e 2c 20 |is less |common, |
|000002e0| 74 68 6f 75 67 68 20 69 | 74 20 6d 61 79 20 6f 63 |though i|t may oc|
|000002f0| 63 75 72 20 69 66 20 79 | 6f 75 0d 77 61 6e 74 20 |cur if y|ou.want |
|00000300| 74 6f 20 69 6d 70 6f 72 | 74 20 79 6f 75 72 20 70 |to impor|t your p|
|00000310| 6c 6f 74 73 20 69 6e 74 | 6f 20 61 6e 6f 74 68 65 |lots int|o anothe|
|00000320| 72 20 70 61 63 6b 61 67 | 65 2c 20 77 68 69 63 68 |r packag|e, which|
|00000330| 20 72 65 71 75 69 72 65 | 73 20 79 6f 75 20 74 6f | require|s you to|
|00000340| 0d 64 75 6d 70 20 74 68 | 65 20 70 6c 6f 74 20 74 |.dump th|e plot t|
|00000350| 6f 20 61 20 66 69 6c 65 | 2e 20 0d 0d 53 65 74 74 |o a file|. ..Sett|
|00000360| 69 6e 67 20 74 68 65 20 | 6f 75 74 70 75 74 20 74 |ing the |output t|
|00000370| 6f 20 61 20 66 69 6c 65 | 20 61 6e 64 20 74 68 65 |o a file| and the|
|00000380| 20 74 65 72 6d 69 6e 61 | 6c 20 74 79 70 65 20 74 | termina|l type t|
|00000390| 6f 20 70 72 6f 64 75 63 | 65 0d 50 6f 73 74 53 63 |o produc|e.PostSc|
|000003a0| 72 69 70 74 2c 20 61 6e | 64 20 74 68 65 6e 20 72 |ript, an|d then r|
|000003b0| 65 73 65 74 74 69 6e 67 | 20 69 74 20 74 6f 20 74 |esetting| it to t|
|000003c0| 68 65 20 64 65 66 61 75 | 6c 74 20 73 65 74 74 69 |he defau|lt setti|
|000003d0| 6e 67 2c 20 69 73 20 61 | 6e 6f 74 68 65 72 0d 6f |ng, is a|nother.o|
|000003e0| 66 20 74 68 65 20 6d 6f | 72 65 20 63 6f 6d 6d 6f |f the mo|re commo|
|000003f0| 6e 20 74 68 69 6e 67 73 | 20 79 6f 75 20 6e 65 65 |n things| you nee|
|00000400| 64 20 74 6f 20 64 6f 2e | 20 20 0d 59 6f 75 20 73 |d to do.| .You s|
|00000410| 68 6f 75 6c 64 20 62 65 | 20 63 61 72 65 66 75 6c |hould be| careful|
|00000420| 20 6e 6f 74 20 74 6f 20 | 6f 76 65 72 2d 77 72 69 | not to |over-wri|
|00000430| 74 65 20 6f 6e 65 20 70 | 6c 6f 74 20 77 69 74 68 |te one p|lot with|
|00000440| 20 74 68 65 0d 6e 65 78 | 74 2e 0d 0d 4e 6f 74 65 | the.nex|t...Note|
|00000450| 20 74 68 61 74 20 50 6f | 73 74 53 63 72 69 70 74 | that Po|stScript|
|00000460| 20 69 73 20 6e 6f 74 20 | 74 68 65 20 6f 6e 6c 79 | is not |the only|
|00000470| 20 70 72 69 6e 74 65 72 | 20 66 6f 72 6d 61 74 20 | printer| format |
|00000480| 74 68 61 74 20 67 6e 75 | 70 6c 6f 74 20 63 61 6e |that gnu|plot can|
|00000490| 0d 70 72 6f 64 75 63 65 | 2e 20 20 4d 6f 73 74 20 |.produce|. Most |
|000004a0| 63 6f 6d 6d 6f 6e 20 70 | 72 69 6e 74 65 72 73 20 |common p|rinters |
|000004b0| 61 72 65 20 65 69 74 68 | 65 72 20 73 75 70 70 6f |are eith|er suppo|
|000004c0| 72 74 65 64 20 64 69 72 | 65 63 74 6c 79 2c 20 6f |rted dir|ectly, o|
|000004d0| 72 20 63 61 6e 0d 62 65 | 20 63 6f 6e 66 69 67 75 |r can.be| configu|
|000004e0| 72 65 64 20 74 6f 20 65 | 6d 75 6c 61 74 65 20 61 |red to e|mulate a|
|000004f0| 20 70 72 69 6e 74 65 72 | 20 74 68 61 74 20 69 73 | printer| that is|
|00000500| 20 73 75 70 70 6f 72 74 | 65 64 2e 20 0d 0d 41 6e | support|ed. ..An|
|00000510| 6f 74 68 65 72 20 74 68 | 69 6e 67 20 74 6f 20 6e |other th|ing to n|
|00000520| 6f 74 65 20 69 73 20 74 | 68 61 74 20 73 6f 6d 65 |ote is t|hat some|
|00000530| 20 74 65 72 6d 69 6e 61 | 6c 20 74 79 70 65 73 20 | termina|l types |
|00000540| 28 67 65 6e 65 72 61 6c | 6c 79 20 74 68 6f 73 65 |(general|ly those|
|00000550| 20 66 6f 72 0d 70 72 69 | 6e 74 65 72 73 29 20 74 | for.pri|nters) t|
|00000560| 61 6b 65 20 65 78 74 72 | 61 20 6f 70 74 69 6f 6e |ake extr|a option|
|00000570| 73 20 74 68 61 74 20 73 | 70 65 63 69 66 79 20 77 |s that s|pecify w|
|00000580| 68 69 63 68 20 6d 6f 64 | 65 20 6f 66 20 74 68 65 |hich mod|e of the|
|00000590| 20 74 65 72 6d 69 6e 61 | 6c 0d 73 68 6f 75 6c 64 | termina|l.should|
|000005a0| 20 62 65 20 75 73 65 64 | 2e 20 20 20 41 73 20 6d | be used|. As m|
|000005b0| 65 6e 74 69 6f 6e 65 64 | 20 61 62 6f 76 65 2c 20 |entioned| above, |
|000005c0| 61 20 63 6f 6d 70 6c 65 | 74 65 20 6c 69 73 74 20 |a comple|te list |
|000005d0| 6f 66 20 61 6c 6c 20 74 | 65 72 6d 69 6e 61 6c 0d |of all t|erminal.|
|000005e0| 74 79 70 65 73 20 28 6f | 75 74 70 75 74 20 66 6f |types (o|utput fo|
|000005f0| 72 6d 61 74 73 29 2c 20 | 61 6e 64 20 74 68 65 20 |rmats), |and the |
|00000600| 6f 70 74 69 6f 6e 73 20 | 74 68 65 79 20 74 61 6b |options |they tak|
|00000610| 65 2c 20 63 61 6e 20 62 | 65 20 66 6f 75 6e 64 20 |e, can b|e found |
|00000620| 62 79 0d 69 6e 76 6f 6b | 69 6e 67 20 67 6e 75 70 |by.invok|ing gnup|
|00000630| 6c 6f 74 20 61 74 20 74 | 68 65 20 63 6f 6d 6d 61 |lot at t|he comma|
|00000640| 6e 64 20 6c 69 6e 65 2c | 20 74 68 65 6e 20 75 73 |nd line,| then us|
|00000650| 69 6e 67 20 74 68 65 20 | 0d 5c 76 65 72 62 2b 73 |ing the |.\verb+s|
|00000660| 65 74 20 74 65 72 6d 69 | 6e 61 6c 2b 20 63 6f 6d |et termi|nal+ com|
|00000670| 6d 61 6e 64 2e 20 0d 0d | 5c 73 65 63 74 69 6f 6e |mand. ..|\section|
|00000680| 7b 42 61 73 69 63 20 50 | 6c 6f 74 73 7d 0d 0d 70 |{Basic P|lots}..p|
|00000690| 6c 70 6c 6f 74 20 69 73 | 20 61 20 76 65 72 79 20 |lplot is| a very |
|000006a0| 70 6f 77 65 72 66 75 6c | 20 6c 69 62 72 61 72 79 |powerful| library|
|000006b0| 2c 20 61 6e 64 20 68 61 | 73 20 6d 61 6e 79 20 6f |, and ha|s many o|
|000006c0| 70 74 69 6f 6e 73 20 66 | 6f 72 0d 73 70 65 63 69 |ptions f|or.speci|
|000006d0| 66 79 69 6e 67 20 68 6f | 77 20 74 68 65 20 70 6c |fying ho|w the pl|
|000006e0| 6f 74 73 20 74 75 72 6e | 20 6f 75 74 2e 20 48 6f |ots turn| out. Ho|
|000006f0| 77 65 76 65 72 2c 20 69 | 6e 20 6d 6f 73 74 20 6f |wever, i|n most o|
|00000700| 66 20 74 68 65 20 70 6c | 6f 74 73 20 79 6f 75 0d |f the pl|ots you.|
|00000710| 77 69 6c 6c 20 64 6f 2c | 20 79 6f 75 20 77 69 6c |will do,| you wil|
|00000720| 6c 20 73 69 6d 70 6c 79 | 20 62 65 20 6c 6f 6f 6b |l simply| be look|
|00000730| 69 6e 67 20 66 6f 72 20 | 74 68 65 20 69 6e 66 6f |ing for |the info|
|00000740| 72 6d 61 74 69 6f 6e 20 | 63 6f 6e 74 61 69 6e 65 |rmation |containe|
|00000750| 64 0d 77 69 74 68 69 6e | 20 74 68 65 20 70 6c 6f |d.within| the plo|
|00000760| 74 2c 20 61 6e 64 20 74 | 68 65 20 20 64 65 66 61 |t, and t|he defa|
|00000770| 75 6c 74 73 20 77 69 6c | 6c 20 62 65 20 71 75 69 |ults wil|l be qui|
|00000780| 74 65 20 61 63 63 65 70 | 74 61 62 6c 65 2e 0d 54 |te accep|table..T|
|00000790| 68 65 20 61 64 76 61 6e | 63 65 64 20 6f 70 74 69 |he advan|ced opti|
|000007a0| 6f 6e 73 20 77 69 6c 6c | 20 62 65 20 63 6f 76 65 |ons will| be cove|
|000007b0| 72 65 64 20 69 6e 20 74 | 68 65 20 6e 65 78 74 20 |red in t|he next |
|000007c0| 73 65 63 74 69 6f 6e 2e | 0d 0d 54 68 65 20 62 61 |section.|..The ba|
|000007d0| 73 69 63 20 63 6f 6d 6d | 61 6e 64 20 74 6f 20 67 |sic comm|and to g|
|000007e0| 65 74 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 66 |et infor|mation f|
|000007f0| 72 6f 6d 20 5c 52 4c 61 | 42 5c 20 74 6f 20 67 6e |rom \RLa|B\ to gn|
|00000800| 75 70 6c 6f 74 20 69 73 | 20 74 68 65 0d 5c 76 65 |uplot is| the.\ve|
|00000810| 72 62 2b 70 6c 6f 74 2b | 20 63 6f 6d 6d 61 6e 64 |rb+plot+| command|
|00000820| 2e 20 53 65 65 20 53 65 | 63 74 69 6f 6e 7e 5c 72 |. See Se|ction~\r|
|00000830| 65 66 7b 66 6e 3a 70 6c | 6f 74 7d 20 66 6f 72 20 |ef{fn:pl|ot} for |
|00000840| 64 65 74 61 69 6c 65 64 | 20 72 65 66 65 72 65 6e |detailed| referen|
|00000850| 63 65 0d 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 2e 20 |ce.infor|mation. |
|00000860| 20 5c 76 65 72 62 2b 70 | 6c 6f 74 2b 20 6e 6f 72 | \verb+p|lot+ nor|
|00000870| 6d 61 6c 6c 79 20 74 61 | 6b 65 73 20 65 69 74 68 |mally ta|kes eith|
|00000880| 65 72 20 61 20 73 69 6e | 67 6c 65 20 6d 61 74 72 |er a sin|gle matr|
|00000890| 69 78 2c 20 61 0d 6c 69 | 73 74 20 6f 66 20 6d 61 |ix, a.li|st of ma|
|000008a0| 74 72 69 63 69 65 73 2c | 20 6f 72 20 61 20 73 74 |tricies,| or a st|
|000008b0| 72 69 6e 67 20 61 73 20 | 69 74 73 20 61 72 67 75 |ring as |its argu|
|000008c0| 6d 65 6e 74 2e 20 20 49 | 66 20 79 6f 75 20 77 69 |ment. I|f you wi|
|000008d0| 73 68 20 74 6f 2c 20 79 | 6f 75 0d 6d 61 79 20 61 |sh to, y|ou.may a|
|000008e0| 6c 73 6f 20 61 64 64 20 | 61 20 73 65 63 6f 6e 64 |lso add |a second|
|000008f0| 20 61 72 67 75 6d 65 6e | 74 2c 20 77 68 69 63 68 | argumen|t, which|
|00000900| 20 69 73 20 74 68 65 20 | 70 6c 6f 74 20 70 72 6f | is the |plot pro|
|00000910| 63 65 73 73 20 6e 75 6d | 62 65 72 20 28 73 65 65 |cess num|ber (see|
|00000920| 0d 61 62 6f 76 65 29 2e | 0d 0d 49 66 20 74 68 65 |.above).|..If the|
|00000930| 20 61 72 67 75 6d 65 6e | 74 20 69 73 20 61 20 73 | argumen|t is a s|
|00000940| 74 72 69 6e 67 2c 20 74 | 68 65 20 73 74 72 69 6e |tring, t|he strin|
|00000950| 67 20 28 77 69 74 68 6f | 75 74 20 74 68 65 20 73 |g (witho|ut the s|
|00000960| 75 72 72 6f 75 6e 64 69 | 6e 67 0d 64 6f 75 62 6c |urroundi|ng.doubl|
|00000970| 65 20 71 75 6f 74 65 73 | 29 20 69 73 20 70 61 73 |e quotes|) is pas|
|00000980| 73 65 64 20 64 69 72 65 | 63 74 6c 79 20 74 6f 20 |sed dire|ctly to |
|00000990| 67 6e 75 70 6c 6f 74 2e | 20 20 54 68 69 73 20 77 |gnuplot.| This w|
|000009a0| 61 73 20 75 73 65 64 20 | 61 62 6f 76 65 2c 0d 61 |as used |above,.a|
|000009b0| 6e 64 20 77 69 6c 6c 20 | 62 65 20 75 73 65 64 20 |nd will |be used |
|000009c0| 61 67 61 69 6e 20 77 68 | 65 6e 20 77 65 20 73 65 |again wh|en we se|
|000009d0| 65 20 74 68 65 20 61 64 | 76 61 6e 63 65 64 20 70 |e the ad|vanced p|
|000009e0| 6c 6f 74 74 69 6e 67 20 | 66 65 61 74 75 72 65 73 |lotting |features|
|000009f0| 2e 0d 0d 49 66 20 74 68 | 65 20 61 72 67 75 6d 65 |...If th|e argume|
|00000a00| 6e 74 20 69 73 20 61 20 | 73 69 6e 67 6c 65 20 6d |nt is a |single m|
|00000a10| 61 74 72 69 78 2c 20 74 | 68 65 6e 20 66 69 72 73 |atrix, t|hen firs|
|00000a20| 74 20 63 6f 6c 75 6d 6e | 20 69 73 20 74 61 6b 65 |t column| is take|
|00000a30| 6e 20 61 73 20 74 68 65 | 0d 69 6e 64 65 70 65 6e |n as the|.indepen|
|00000a40| 64 61 6e 74 20 76 61 72 | 69 61 62 6c 65 2c 20 61 |dant var|iable, a|
|00000a50| 6e 64 20 74 68 65 20 73 | 65 63 6f 6e 64 20 61 6e |nd the s|econd an|
|00000a60| 64 20 68 69 67 68 65 72 | 20 63 6f 6c 75 6d 6e 73 |d higher| columns|
|00000a70| 20 61 72 65 20 70 6c 6f | 74 74 65 64 0d 61 67 61 | are plo|tted.aga|
|00000a80| 69 6e 73 74 20 69 74 2e | 20 20 0d 0d 49 66 20 74 |inst it.| ..If t|
|00000a90| 68 65 20 6d 61 74 72 69 | 78 20 6f 6e 6c 79 20 68 |he matri|x only h|
|00000aa0| 61 73 20 6f 6e 65 20 63 | 6f 6c 75 6d 6e 2c 20 74 |as one c|olumn, t|
|00000ab0| 68 65 6e 20 74 68 65 20 | 69 6e 64 65 78 20 76 61 |hen the |index va|
|00000ac0| 6c 75 65 73 20 61 72 65 | 20 75 73 65 64 20 61 73 |lues are| used as|
|00000ad0| 0d 74 68 65 20 69 6e 64 | 65 70 65 6e 64 61 6e 74 |.the ind|ependant|
|00000ae0| 20 76 61 72 69 61 62 6c | 65 2c 20 61 6e 64 20 74 | variabl|e, and t|
|00000af0| 68 65 20 63 6f 6c 75 6d | 6e 20 76 65 63 74 6f 72 |he colum|n vector|
|00000b00| 20 69 73 20 70 6c 6f 74 | 74 65 64 20 61 73 20 74 | is plot|ted as t|
|00000b10| 68 65 0d 64 65 70 65 6e | 64 65 6e 74 20 76 61 72 |he.depen|dent var|
|00000b20| 69 61 62 6c 65 2e 20 20 | 0d 0d 54 68 65 20 74 68 |iable. |..The th|
|00000b30| 69 72 64 20 74 79 70 65 | 20 6f 66 20 69 6e 70 75 |ird type| of inpu|
|00000b40| 74 20 69 73 20 75 73 69 | 6e 67 20 61 20 6c 69 73 |t is usi|ng a lis|
|00000b50| 74 20 6f 66 20 6d 61 74 | 72 69 63 69 65 73 2e 20 |t of mat|ricies. |
|00000b60| 20 54 68 69 73 20 69 73 | 20 61 20 76 65 72 79 0d | This is| a very.|
|00000b70| 66 6c 65 78 69 62 6c 65 | 20 74 6f 6f 6c 2c 20 74 |flexible| tool, t|
|00000b80| 68 6f 75 67 68 20 69 74 | 20 68 61 73 20 6c 69 74 |hough it| has lit|
|00000b90| 74 6c 65 20 70 6f 69 6e | 74 20 75 6e 6c 65 73 73 |tle poin|t unless|
|00000ba0| 20 74 68 65 20 6d 61 74 | 72 69 63 69 65 73 20 68 | the mat|ricies h|
|00000bb0| 61 76 65 0d 7b 5c 65 6d | 20 64 69 66 66 65 72 65 |ave.{\em| differe|
|00000bc0| 6e 74 7d 20 66 69 72 73 | 74 20 63 6f 6c 75 6d 6e |nt} firs|t column|
|00000bd0| 73 2e 20 20 49 6e 20 74 | 68 69 73 20 63 61 73 65 |s. In t|his case|
|00000be0| 2c 20 74 68 65 20 74 77 | 6f 20 6d 61 74 72 69 63 |, the tw|o matric|
|00000bf0| 69 65 73 20 77 69 6c 6c | 0d 62 65 20 70 6c 6f 74 |ies will|.be plot|
|00000c00| 74 65 64 20 6f 6e 20 74 | 68 65 20 73 61 6d 65 20 |ted on t|he same |
|00000c10| 67 72 61 70 68 2c 20 6f | 76 65 72 20 74 68 65 20 |graph, o|ver the |
|00000c20| 64 6f 6d 61 69 6e 73 20 | 73 70 65 63 69 66 69 65 |domains |specifie|
|00000c30| 64 20 62 79 20 74 68 65 | 20 66 69 72 73 74 0d 63 |d by the| first.c|
|00000c40| 6f 6c 75 6d 6e 2e 20 0d | 0d 49 66 20 79 6f 75 20 |olumn. .|.If you |
|00000c50| 77 61 6e 74 20 74 6f 20 | 68 61 76 65 20 74 77 6f |want to |have two|
|00000c60| 20 64 69 66 66 65 72 65 | 6e 74 20 70 6c 6f 74 73 | differe|nt plots|
|00000c70| 20 61 74 20 74 68 65 20 | 73 61 6d 65 20 74 69 6d | at the |same tim|
|00000c80| 65 2c 20 79 6f 75 20 6e | 65 65 64 20 74 6f 0d 73 |e, you n|eed to.s|
|00000c90| 70 65 63 69 66 79 20 61 | 20 70 6c 6f 74 20 70 72 |pecify a| plot pr|
|00000ca0| 6f 63 65 73 73 20 6e 75 | 6d 62 65 72 2e 20 48 65 |ocess nu|mber. He|
|00000cb0| 72 65 20 69 73 20 61 6e | 20 65 78 61 6d 70 6c 65 |re is an| example|
|00000cc0| 20 6f 66 20 68 6f 77 20 | 74 6f 20 70 72 6f 64 75 | of how |to produ|
|00000cd0| 63 65 0d 74 68 72 65 65 | 20 67 72 61 70 68 73 20 |ce.three| graphs |
|00000ce0| 6f 6e 20 61 20 73 79 73 | 74 65 6d 20 63 61 70 61 |on a sys|tem capa|
|00000cf0| 62 6c 65 20 6f 66 20 64 | 69 73 70 6c 61 79 69 6e |ble of d|isplayin|
|00000d00| 67 20 73 65 76 65 72 61 | 6c 20 77 69 6e 64 6f 77 |g severa|l window|
|00000d10| 73 2c 20 73 75 63 68 0d | 61 73 20 58 20 77 69 6e |s, such.|as X win|
|00000d20| 64 6f 77 73 3a 0d 0d 54 | 68 65 20 6c 61 73 74 20 |dows:..T|he last |
|00000d30| 63 6f 6d 6d 61 6e 64 20 | 73 68 6f 77 73 20 68 6f |command |shows ho|
|00000d40| 77 20 74 6f 20 70 6c 6f | 74 20 6d 75 6c 74 69 70 |w to plo|t multip|
|00000d50| 6c 65 20 63 75 72 76 65 | 73 20 6f 6e 20 61 20 73 |le curve|s on a s|
|00000d60| 69 6e 67 6c 65 20 70 6c | 6f 74 0d 77 69 74 68 6f |ingle pl|ot.witho|
|00000d70| 75 74 20 75 73 69 6e 67 | 20 61 20 6c 69 73 74 20 |ut using| a list |
|00000d80| 2d 2d 2d 20 72 65 6d 65 | 6d 62 65 72 20 74 68 61 |--- reme|mber tha|
|00000d90| 74 20 65 61 63 68 20 63 | 6f 6c 75 6d 6e 20 61 66 |t each c|olumn af|
|00000da0| 74 65 72 20 74 68 65 20 | 66 69 72 73 74 20 69 73 |ter the |first is|
|00000db0| 0d 74 72 65 61 74 65 64 | 20 61 73 20 61 20 64 65 |.treated| as a de|
|00000dc0| 70 65 6e 64 61 6e 74 20 | 76 61 72 69 61 62 6c 65 |pendant |variable|
|00000dd0| 20 74 6f 20 74 68 65 20 | 66 69 72 73 74 20 63 6f | to the |first co|
|00000de0| 6c 75 6d 6e 2e 0d 0d 54 | 68 65 20 65 66 66 65 63 |lumn...T|he effec|
|00000df0| 74 20 6f 66 20 74 68 69 | 73 20 69 73 20 62 65 73 |t of thi|s is bes|
|00000e00| 74 20 73 65 65 6e 20 62 | 79 20 61 63 74 75 61 6c |t seen b|y actual|
|00000e10| 6c 79 20 74 72 79 69 6e | 67 20 69 74 20 6f 6e 20 |ly tryin|g it on |
|00000e20| 61 20 73 79 73 74 65 6d | 0d 63 61 70 61 62 6c 65 |a system|.capable|
|00000e30| 20 6f 66 20 64 69 73 70 | 6c 61 79 69 6e 67 20 6d | of disp|laying m|
|00000e40| 75 6c 74 69 70 6c 65 20 | 70 6c 6f 74 73 2e 20 20 |ultiple |plots. |
|00000e50| 0d 0d 41 66 74 65 72 20 | 79 6f 75 20 68 61 76 65 |..After |you have|
|00000e60| 20 70 72 6f 64 75 63 65 | 64 20 6d 75 6c 74 69 70 | produce|d multip|
|00000e70| 6c 65 20 70 6c 6f 74 73 | 2c 20 79 6f 75 20 6d 61 |le plots|, you ma|
|00000e80| 79 20 77 69 73 68 20 74 | 6f 20 63 6c 65 61 6e 20 |y wish t|o clean |
|00000e90| 75 70 20 74 68 65 20 73 | 63 72 65 65 6e 0d 61 6e |up the s|creen.an|
|00000ea0| 64 20 66 72 65 65 20 75 | 70 20 73 6f 6d 65 20 72 |d free u|p some r|
|00000eb0| 65 73 6f 75 72 63 65 73 | 2c 20 73 6f 20 79 6f 75 |esources|, so you|
|00000ec0| 20 6e 65 65 64 20 74 6f | 20 6b 69 6c 6c 20 73 6f | need to| kill so|
|00000ed0| 6d 65 20 6f 66 20 74 68 | 65 20 70 6c 6f 74 73 2e |me of th|e plots.|
|00000ee0| 0d 59 6f 75 20 63 6f 75 | 6c 64 20 61 6c 77 61 79 |.You cou|ld alway|
|00000ef0| 73 20 65 78 69 74 20 5c | 52 4c 61 42 2c 20 62 75 |s exit \|RLaB, bu|
|00000f00| 74 20 74 68 61 74 20 69 | 73 20 6e 6f 74 20 61 6c |t that i|s not al|
|00000f10| 77 61 79 73 20 64 65 73 | 69 72 61 62 6c 65 2e 20 |ways des|irable. |
|00000f20| 20 53 6f 0d 74 68 65 20 | 5c 76 65 72 62 2b 70 63 | So.the |\verb+pc|
|00000f30| 6c 6f 73 65 2b 20 66 75 | 6e 63 74 69 6f 6e 20 69 |lose+ fu|nction i|
|00000f40| 73 20 70 72 6f 76 69 64 | 65 64 2e 20 53 65 63 74 |s provid|ed. Sect|
|00000f50| 69 6f 6e 7e 5c 72 65 66 | 7b 66 6e 3a 70 63 6c 6f |ion~\ref|{fn:pclo|
|00000f60| 73 65 7d 20 68 61 73 0d | 61 6c 6c 20 74 68 65 20 |se} has.|all the |
|00000f70| 64 65 74 61 69 6c 73 2c | 20 73 6f 20 73 75 66 66 |details,| so suff|
|00000f80| 69 63 65 20 74 6f 20 73 | 61 79 20 74 68 61 74 20 |ice to s|ay that |
|00000f90| 79 6f 75 20 63 61 6e 20 | 6b 69 6c 6c 20 6f 66 66 |you can |kill off|
|00000fa0| 20 61 20 70 6c 6f 74 20 | 70 72 6f 63 65 73 73 0d | a plot |process.|
|00000fb0| 62 79 20 73 70 65 63 69 | 66 79 69 6e 67 20 69 74 |by speci|fying it|
|00000fc0| 73 20 70 6c 6f 74 20 70 | 72 6f 63 65 73 73 20 6e |s plot p|rocess n|
|00000fd0| 75 6d 62 65 72 20 61 73 | 20 61 6e 20 61 72 67 75 |umber as| an argu|
|00000fe0| 6d 65 6e 74 20 74 6f 20 | 5c 76 65 72 62 2b 70 63 |ment to |\verb+pc|
|00000ff0| 6c 6f 73 65 2b 2e 0d 0d | 57 69 74 68 20 61 6c 6c |lose+...|With all|
|00001000| 20 74 68 6f 73 65 20 70 | 6c 6f 74 20 70 72 6f 63 | those p|lot proc|
|00001010| 65 73 73 20 6e 75 6d 62 | 65 72 73 20 66 6c 6f 61 |ess numb|ers floa|
|00001020| 74 69 6e 67 20 61 72 6f | 75 6e 64 2c 20 69 74 20 |ting aro|und, it |
|00001030| 69 73 20 65 61 73 79 20 | 74 6f 0d 6c 6f 73 65 20 |is easy |to.lose |
|00001040| 74 72 61 63 6b 20 6f 66 | 20 68 6f 77 20 65 61 63 |track of| how eac|
|00001050| 68 20 6f 6e 65 20 69 73 | 20 73 65 74 20 75 70 2c |h one is| set up,|
|00001060| 20 61 6e 64 20 77 68 69 | 63 68 20 66 69 6c 65 73 | and whi|ch files|
|00001070| 20 69 74 20 69 73 20 75 | 73 69 6e 67 20 28 6f 72 | it is u|sing (or|
|00001080| 0d 77 6f 75 6c 64 20 75 | 73 65 29 2e 20 20 0d 0d |.would u|se). ..|
|00001090| 5c 73 65 63 74 69 6f 6e | 7b 41 64 76 61 6e 63 65 |\section|{Advance|
|000010a0| 64 20 50 6c 6f 74 73 7d | 0d 0d 54 68 69 73 20 73 |d Plots}|..This s|
|000010b0| 65 63 74 69 6f 6e 20 64 | 65 61 6c 73 20 6d 6f 72 |ection d|eals mor|
|000010c0| 65 20 77 69 74 68 20 74 | 68 65 20 66 65 61 74 75 |e with t|he featu|
|000010d0| 72 65 73 20 6f 66 20 70 | 6c 70 6c 6f 74 20 61 6e |res of p|lplot an|
|000010e0| 64 20 6c 65 73 73 20 77 | 69 74 68 20 74 68 65 0d |d less w|ith the.|
|000010f0| 61 63 74 75 61 6c 20 5c | 52 4c 61 42 5c 20 66 75 |actual \|RLaB\ fu|
|00001100| 6e 63 74 69 6f 6e 73 20 | 74 68 61 74 20 63 61 6c |nctions |that cal|
|00001110| 6c 20 74 68 6f 73 65 20 | 66 65 61 74 75 72 65 73 |l those |features|
|00001120| 2e 20 20 0d 0d 5c 70 61 | 72 61 67 72 61 70 68 7b |. ..\pa|ragraph{|
|00001130| 72 65 70 6c 6f 74 7d 0d | 0d 49 66 20 79 6f 75 20 |replot}.|.If you |
|00001140| 77 61 6e 74 20 74 6f 20 | 63 68 61 6e 67 65 20 74 |want to |change t|
|00001150| 68 65 20 73 65 74 74 69 | 6e 67 73 2c 20 61 6e 64 |he setti|ngs, and|
|00001160| 20 74 68 65 6e 20 73 65 | 65 20 74 68 65 20 72 65 | then se|e the re|
|00001170| 73 75 6c 74 20 6f 66 0d | 70 6c 6f 74 74 69 6e 67 |sult of.|plotting|
|00001180| 20 61 20 67 72 61 70 68 | 20 61 67 61 69 6e 2c 20 | a graph| again, |
|00001190| 74 68 65 20 5c 76 65 72 | 62 2b 72 65 70 6c 6f 74 |the \ver|b+replot|
|000011a0| 2b 20 63 6f 6d 6d 61 6e | 64 20 6d 61 79 20 62 65 |+ comman|d may be|
|000011b0| 20 6f 66 0d 75 73 65 2e | 20 49 74 20 73 69 6d 70 | of.use.| It simp|
|000011c0| 6c 79 20 63 61 75 73 65 | 73 20 74 68 65 20 6c 61 |ly cause|s the la|
|000011d0| 73 74 20 70 6c 6f 74 20 | 74 6f 20 62 65 20 72 65 |st plot |to be re|
|000011e0| 64 6f 6e 65 2e 20 0d 0d | 5c 69 6e 64 65 78 7b 70 |done. ..|\index{p|
|000011f0| 6c 6f 74 74 69 6e 67 7c | 29 7d 0d 0d 0d 0d 0d |lotting||)}..... |
+--------+-------------------------+-------------------------+--------+--------+